import { ISearchItemType } from '/@/components/search/type/index';
import { i18n } from '/@/locales/i18n';
const $t = i18n.global.t;

const object: ISearchItemType = {
	// query,add,reset,delete 展示按钮对应字符串
	showButtonType: [],
	size: 'small',
	//初始化搜索框数据-对应propList中元素prop属性
	searchObj: {
		ProjectNo: '',
		ApplyNo: '',
		MaterialName: '',
		State: '',
	},

	//搜索框样式, type: 'input'输入框/type:'select'选择框两种
	propList: [
		{
			prop: 'ProjectNo',
			type: 'input',
			label: $t('rzW6vXIt2vGgDo27908Ct'),
			//输入框样式
			inputStye: {
				placeholder: $t('j7awBhgv0Oh9dgxQwkZ6m'),
			},
		},
		{
			prop: 'ApplyNo',
			type: 'input',
			label: $t('bJkvx7LlooWo1tiYJnq7L'),
			//输入框样式
			inputStye: {
				placeholder: $t('djUPkYqwtS0FrcCIbRzBg'),
			},
		},
		{
			prop: 'MaterialName',
			type: 'input',
			label: $t('wYRlCizYClLkMh62QWt'),
			inputStye: {
				placeholder: $t('eo_2LfOxFzZnKxr4Ab8U'),
			},
		},
	],
};

export default object;
